package water.com.DbAuto;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ColumnDefine {
    boolean primaryKey() default false;
    boolean defaultNull() default true;
    String dataType() default "varchar(20)";
    boolean autoIncrement() default false;
}
